package com.example.db.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * @Author: AlbertHPW
 * @Date: 2025/6/15 13:07
 */
@Data
@ApiModel(description = "测试表单")
public class TestSayHelloForm {

    @NotBlank
    //@Pattern(regexp = "^[\\u4e00-\\u9fa5]{2,15}$",message = "不符合正则表达式")
    @ApiModelProperty("姓名")
    private String name;
}
